package lab02.test06;

public class Test06 {
    public static void main(String[] args) {

        //三角形
        System.out.println("三角形：");
        Triangle triangle = new Triangle();
        triangle.setEdge1(6);
        triangle.setEdge2(8);
        triangle.setEdge3(10);
        triangle.length();
        triangle.area();

        //梯形
        System.out.println("梯形");
        Ladder ladder = new Ladder(4, 7, 10);
        ladder.area();

        //圆形
        System.out.println("圆形");
        Circle circle = new Circle(5);
        circle.length();
        circle.area();

    }
}
